﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using LiuYan.Service;

namespace LiuYan.Web.Areas.Admin.Controllers
{
    public class TongJiController : Controller
    {
        //
        // GET: /Admin/TongJi/

        public ActionResult Index()
        {
           ViewData["data1"]=new TongJiService().GetTj();
           ViewData["data2"] = new TongJiService().GetMouthTj();
           ViewData["data3"] = new TongJiService().GetWeekTj();
           ViewData["data4"] = new TongJiService().GetDayTj();
           ViewData["data5"] = new TongJiService().GetYearTj();
            return View();
        }

    }
}
